package info.wangyuan.agent.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import info.wangyuan.agent.entity.po.KnowledgeBase;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface KnowledgeBaseMapper extends BaseMapper<KnowledgeBase> {

    @Delete("TRUNCATE TABLE tb_knowledge_base RESTART IDENTITY")
    void truncateKnowledgeBase();

}
